package cloud.keveri.gateway.dto;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 作者：沈自在
 **/
public interface IDefinitionDynamicManager {

    /**
     *
     */
    ServiceDefinition acquireServiceDefinition(String uniqueId);

    /**
     *
     */
    ServiceDefinition acquireServiceDefinitionWithPath(String path);

    /**
     *
     */
    Set<ServiceInstance> acquireServiceInstanceWithUniqueId(String uniqueId);

    /**
     *
     */
    Rule acquireRuleWithPath(String path);

    /**
     *
     */
    List<Rule> acquireRulesWithServiceId(String serviceId);
}
